﻿using System;
using System.Collections.Generic;

using SharedGenomics.Workbench.Core;
using SharedGenomics.Workbench.Aspects;

namespace SharedGenomics.Workbench.Services
{
    public interface ISnpService
    {
        [LoginRequired]
        Maybe<IEnumerable<string>> FilterUnavailableMarkers(IEnumerable<string> markers);

        [LoginRequired]
        Maybe<bool> SetUserMarker(string markerName, int rsNumber, out int chromosome, out long position, out string errorMessage);

        [LoginRequired]
        Maybe<bool> SetUserMarker(string markerName, int chromosomeIndex, long position, out string errorMessage);
    }
}
